Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Add documentation to for the ActiveModelAdapter #1634

Closed
wants to merge 1 commit into from

Conversation

opsb
Copy link

@opsb opsb commented Jul 31, 2014

This PR adds some documentation for the ActiveModelAdapter. It includes instructions for setting up both rails and ember. It also talks about how you specify the serialization of relationships on the ember side.

This is a first draft really so any suggestions for things to include are very welcome.

The docs also assume that the PR emberjs/data#2138 will be accepted(it changes how associations are embedded to match the rails conventions - mainly that relationships append _attributes to their name).


```js
{
author: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the rest of the site uses two space indentation. Can you update for that please?

@opsb
Copy link
Author

opsb commented Aug 18, 2014

@fivetanley I've updated the indentation to use 2 spaces

@opsb opsb mentioned this pull request Nov 12, 2014
@trek
Copy link
Member

trek commented Mar 27, 2015

We've migrated to a versioned guides project. Please reopen on https://github.com/emberjs/guides. Thanks!

@trek trek closed this Mar 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants